package en.tedu.egmvc04.mapper;

import en.tedu.egmvc04.pojo.dto.AddressDto;
import en.tedu.egmvc04.pojo.entity.Address;

import java.util.List;

public interface AddressMapper {
    int insertAddress(AddressDto addressDto);

    int deleteAddress(Integer id);

    int updateAddress(Address address);

    List<Address> selectAllAddress();

    Address selectOneAddress(Integer id);
}
